"use strict";

const Controller = require("egg").Controller;

class PrinterController extends Controller {
	async contract() {
		let { contractId } = this.ctx.params;
		let data = await this.service.print.getPrintContractData(contractId);
		console.log("data", data);
		await this.ctx.render(`page/printContractView.html`, data);
	}
}

module.exports = PrinterController;
